package com.wm.wmim.server.mapstruct;

import com.wm.wmim.server.dto.bo.req.ListChatMessageRecordReqBO;
import com.wm.wmim.server.dto.bo.resp.ChatMessageRecordBO;
import com.wm.wmim.server.dto.vo.req.ListChatMessageRecordReqVO;
import com.wm.wmim.server.dto.vo.resp.ChatMessageRecordVO;
import com.wm.wmim.server.entity.ChatMessageRecordDO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author weiming
 * @date 2025/3/5 16:36
 * @description
 */
@Mapper(componentModel = "spring")
public interface ChatMessageRecordMapstruct {
    List<ChatMessageRecordBO> fromDOToBO(List<ChatMessageRecordDO> list);

    List<ChatMessageRecordVO> fromBOToVO(List<ChatMessageRecordBO> result);

    ListChatMessageRecordReqBO fromVOToBO(ListChatMessageRecordReqVO reqVO);
}
